#ifndef __LOGGER_H__
#define __LOGGER_H__

#include <stdio.h>

/** Defines the type of log level *//** CNcomment:定义日志优先级 */
typedef enum LOGGERLEVEL_E {
    LOGGER_UNKNOWN = 0,
    LOGGER_DEFAULT,     /* only for SetMinPriority() */
    LOGGER_VERBOSE,     /**<lowest priority *//**<CNcomment:最低优先级 */
    LOGGER_DEBUG,       /**<debug priority *//**<CNcomment:打印debug信息 */
    LOGGER_INFO,        /**<info priority *//**<CNcomment:打印info信息 */
    LOGGER_WARN,        /**<warnning priority *//**<CNcomment:打印warnning信息 */
    LOGGER_ERROR,       /**<error priority *//**<CNcomment:打印error信息 */
    LOGGER_FATAL,       /**<fatal priority *//**<CNcomment:打印fatal信息 */
    LOGGER_SILENT,      /* only for SetMinPriority(); must be last */
} LOGGERLEVEL_E;

#define LOGD printf
#define LOGE printf
#define LOGI printf

#define log_err printf
#define log_debug printf
#define log_info printf
#define log_warn printf
#define log_ver printf

#endif